import {observable,action} from 'mobx';
import menuConf from '../conf/menuConf';
class Model {
    @observable collapsed = false;
    @action setCollapsed = (data) => {
        this.collapsed = data;
    }
    @observable title = menuConf.defaultSelectedKeys[0];
    @action setTitle = (data) =>{
        this.title = data;
    }
}

export default new Model();